package com.x86.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 风亦未止
 * @date 2022/4/10 19:27
 */
@ApiModel(value="操作员")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "`operator`")
public class Operator implements Serializable {
    @TableId(value = "operatorId", type = IdType.INPUT)
    @ApiModelProperty(value="操作员id")
    private String operatorid;

    @TableField(value = "`name`")
    @ApiModelProperty(value="名字")
    private String name;

    private static final long serialVersionUID = 1L;

    public static final String COL_OPERATORID = "operatorId";

    public static final String COL_NAME = "name";
}